Skip to content

build: link against librt if it's available #383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2018
Merged

build: link against librt if it's available #383

merged 1 commit into from
Aug 20, 2018

Conversation

adierking
Copy link
Contributor

CMakeLists.txt checks for librt's presence but the result is never used. This
causes a link failure on systems where clock_gettime() is provided by librt.

CMakeLists.txt checks for librt's presence but the result is never used. This
causes a link failure on systems where clock_gettime() is provided by librt.
@adierking
Copy link
Contributor Author

cc @MadCoder @compnerd

@tkremenek
Copy link
Member

@swift-ci test

@ktopley-apple ktopley-apple self-requested a review August 20, 2018 14:26
Copy link
Contributor

@ktopley-apple ktopley-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@ktopley-apple ktopley-apple merged commit 653a523 into swiftlang:master Aug 20, 2018
@adierking adierking deleted the rt branch December 2, 2018 00:33
ktopley-apple added a commit that referenced this pull request Dec 6, 2018
build: link against librt if it's available
Signed-off-by: Kim Topley <ktopley@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants